package com.class05.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data  //setter/getter
@AllArgsConstructor //全参构造
@NoArgsConstructor //无参构造
@ToString //toString
public class Student {
//    实体类型属性       mysql中数据类型
//      Integer            int
//      String             varchar
//      Date               datetime
//      Double             double
//      Float              float
//      Long               bigint

    private Integer id;
    private String name;
    private String gender;
    private Integer age;
    private String classes;


}
